
/*清除浮动*/
.clear:after {
    content: "";
    display: block;
    zoom: 0;
    clear: both;
}

body {
    font-size: 12px;
}

.header {
    background-color: #191d3a;
    height: 58px;
}

.ke {
    width: 1000px;
    margin: 0 auto;
}

.logo {
    width: 160px;
    height: 35px;
    /*顶部的外边距*/
    margin-top: 10px;
    /*设置背景图的图片*/
    background-image: url("../images/icons.png");
    background-repeat:no-repeat;

    /*设置鼠标光标为小手样式*/
    cursor: pointer;
}

.logo a {
    /*内联元素不可以设置宽高*/
    /*需要把内联元素 转成 块级元素 才可以设置*/
    display: block;
    width: 160px;
    height: 35px;
}

.nav {
    width: 630px;
}

.logo , .nav {
    float: left;
}

.ke .nav li {
    float: left;
    width: 88px;
    height: 58px;
    border-right: 2px solid #252947;
}

.ke .nav li a:hover {
    color: white;
}

.xuan_zhong {
    background-color: #252947;
}

.ke .nav .xuan_zhong a {
    color: white;
}

.ke .nav li a {
    display: block;
    width: 88px;
    height: 58px;
    /*设置水平方向居中*/
    text-align: center;
    /*设置垂直方向居中*/
    line-height: 58px;
    color: #818496;
    /*超出部分隐藏*/
    overflow: hidden;
}

.ke .jia_ru {
    margin-top: 12px;
    float: right;
    width: 100px;
    height: 35px;
    background-image: url(../images/icons.png);
    background-repeat:no-repeat;
    /*设置显示图片的位置*/
    background-position: 0 -35px;
    cursor: pointer;
}

.ke .jia_ru:hover {
    /*设置显示图片的位置*/
    background-position: 0 -70px;
}

